<?php echo $header; ?>
<div class="page">
	<div class="personal_info">
    	Welcome,<span id="userName"><?php echo $this->customer->getLastName() ?></span>
					<a href="index.php?route=account/logout">logout</a>
    </div>
	<div class="greenPanel">
		<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
		<table width="95%" cellpadding="0" cellspacing="0" align="center" style="margin:auto;">
			<tr>
				<td colspan="3" align="left" height="50px">
					<a href="javascript:void(0)" style="float:left;background:url(catalog/view/theme/default/images/agreeItem.png);padding:8px 70px 17px 62px;">Account</a>
				</td>
			</tr>
			<tr>
				<?php echo $left; ?>
				<td style="height:500px;" valign="top" class="ManageMain">
				<ul>
					<li>Account Information</li>
				</ul>
				<?php if ($error_warning) { ?>
				<div class="warning"><?php echo $error_warning; ?></div>
				<?php } ?>
				
				<table width="380" cellpadding="0" cellspacing="0" class="list2" style="display: table">
					<tr>
						<td width="22%" class="textright"><font color="#FF0000">*</font><?php echo $entry_firstname; ?></td>
						<td width="78%" class="textleft">
							<input type="text" name="firstname" value="<?php echo $firstname; ?>" /><br />
							<?php if ($error_firstname) { ?>
								<span class="error"><?php echo $error_firstname; ?></span>
							<?php } ?>
						</td>
					</tr>
					<tr>
						<td class="textright"><font color="#FF0000">*</font><?php echo $entry_lastname; ?></td>
						<td class="textleft">
							<input type="text" name="lastname" value="<?php echo $lastname; ?>" /><br />
							<?php if ($error_lastname) { ?>
								<span class="error"><?php echo $error_lastname; ?></span>
							<?php } ?>
						</td>
					</tr>
					<tr>
						<td class="textright"><font color="#FF0000">*</font><?php echo $entry_email; ?></td>
						<td class="textleft">
							<input type="text" name="email" value="<?php echo $email; ?>" /><br />
							<?php if ($error_email) { ?>
								<span class="error"><?php echo $error_email; ?></span>
							<?php } ?>
						</td>
					</tr>
					<tr>
						<td class="textright"><font color="#FF0000">*</font><?php echo $entry_telephone; ?></td>
						<td class="textleft">
							<input type="text" name="telephone" value="<?php echo $telephone; ?>" /><br />
							<?php if ($error_telephone) { ?>
								<span class="error"><?php echo $error_telephone; ?></span>
							<?php } ?>
						</td>
					</tr>
					<tr>
						<td colspan="2" style="color:#1c89d0;" class="text">
							<label>
							<input name="button" type="submit" class="submit_button" id="button" value="submit" />
							</label>
						</td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		</form>
	</div>
</div>
<?php echo $footer; ?> 